package com.shuql;

public class Main {

    public static void main(String[] args) {
        SnowflakeIdWorker snowflakeIdWorker = new SnowflakeIdWorker(1, 2);
        for (int i = 0; i < 10; i++) {
            long onlyId = snowflakeIdWorker.nextId();
            System.out.println(onlyId);
        }
    }

}
